#include<iostream>
using namespace std;
int x;

void add(int num1, int num2)
{
    int sum1 = num1 + num2;
    
    x = sum1;
    return ;
}

int su(int num3,int num4)
{
    int sum2 = num3 - num4;
    cout << sum2 << endl;
    return sum2;
}


int main()
{
    int a;
    int b;
    cout << "a=" << endl;
	cin >> a;
    cout << "b=" << endl;
    cin >> b;
   add(a,b);
   cout<<x<<endl;

   char c[20];
   char d[20];
   cout << "c1="<< endl;
   cin >> c;
   cout << "c2=" << endl;
   cin >> d;
   printf("%s+%s\n",c,d);

    int e;
    int f;
    cout <<"e="<<endl;
    cin >> e;
    cout << "f="<<endl;
    cin >> f;
    su(e,f);

    int g;
    int h;
    cout << "g=" <<endl;
    cin>> g;
    cout << "h="<<endl;
    cin>> h;
    if(g>h)
    {
        cout<< g<< endl;
    }
    if(g<h)
    {
        cout << h<<endl;
    }
    if(g=h)
    {
        printf("一样大");
    }



   
   system("pause");

}